<template>
    <div class="cartlist">
        <div class="title"><div>全选</div> <div>清空购物车</div></div>
        <div class="content">
            <div class="item">
                <div>单选</div><div class="brief">内容,单价</div> <div class="sub">sub</div>1 <div class="add">add</div>
            </div>
            <div class="item">
                <div>单选</div><div class="brief">内容,单价</div> <div class="sub">sub</div>1 <div class="add">add</div>
            </div><div class="item">
                <div>单选</div><div class="brief">内容,单价</div> <div class="sub">sub</div>1 <div class="add">add</div>
            </div><div class="item">
                <div>单选</div><div class="brief">内容,单价</div> <div class="sub">sub</div>1 <div class="add">add</div>
            </div><div class="item">
                <div>单选</div><div class="brief">内容,单价</div> <div class="sub">sub</div>1 <div class="add">add</div>
            </div><div class="item">
                <div>单选</div><div class="brief">内容,单价</div> <div class="sub">sub</div>1 <div class="add">add</div>
            </div><div class="item">
                <div>单选</div><div class="brief">内容,单价</div> <div class="sub">sub</div>1 <div class="add">add</div>
            </div><div class="item">
                <div>单选</div><div class="brief">内容,单价</div> <div class="sub">sub</div>1 <div class="add">add</div>
            </div>
        </div>
    </div>
</template>

<script setup>

</script>

<style lang="scss" scoped>
.cartlist {
    width: 100%;
    height: 1.93rem;
    z-index: 998;
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    overflow: hidden;
    overflow-y: scroll;


    .title {
        position: fixed;
        right: 0;
        left: 0;
        background-color: aliceblue;
        z-index: 999;
        height: .52rem;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    .content {
        width: 100%;
        background-color: white;
        margin-top: .52rem;
        min-height: 1.4rem;
        .item{
            width: 100%;
            height: .46rem;
            display: flex;
            flex-direction: row;
            justify-content: space-around;
        }      
    }

}
</style>